import { Module } from '@nestjs/common';
import { ContainerService } from './container.service';
import { ContainerController } from './container.controller';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Cntr, CntrInPlan, CntrOutPlan, CntrPlan, CntrPlanCntr, CntrPlanFee, PortCntrStat, VCntr, VInventory, VInventoryGroup, CntrLease, CntrLeasePlan, VCntrLease, LeaseForm, CntrFixItem, FixReply, VCurrentCntr, CntrRentPlan, VFixQuotation } from './entities/container.entity';
import { BusinessModule } from '@/business/business.module';

@Module({
    imports: [TypeOrmModule.forFeature([CntrPlan, CntrPlanCntr, CntrPlanFee, CntrInPlan, CntrOutPlan, CntrLeasePlan, CntrRentPlan, CntrLease, Cntr, VCntr,
        VCurrentCntr, PortCntrStat, VInventory, VInventoryGroup, VCntrLease, LeaseForm, CntrFixItem, FixReply, VFixQuotation
    ]), BusinessModule],
    controllers: [ContainerController],
    providers: [ContainerService],
    exports: [ContainerService]
})
export class ContainerModule { }
